package com.juc.cyclicbarrier.cyclicbarrier7;

public class MyThreadC extends Thread{

	private MyService myService;
	
	public MyThreadC(MyService myService) {
		super();
		this.myService = myService;
	}
	@Override
	public void run() {
	   myService.testMethod();
	}

}
